import http from './request'
//获取数据
export const productiontasksList = (data, current, size) => {
    return http({
        url: '/hongyun-training/productiontasks/list?current=' + current + '&size=' + size,
        method: 'POST',
        data
    })
}
// 新增或修改
export const productiontasksSubmit = (data) => {
    return http({
        url: '/hongyun-training/productiontasks/submit',
        method: 'POST',
        data: data
    })
}
// 逻辑删除
export const productiontasksRemove = (ids) => {
    return http({
        url: `/hongyun-training/productiontasks/remove?ids=${ids}`,
        method: 'POST'
    })
}